<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <title>{{$page_title}}</title>

    <link href="{{asset(config('view.frontend.wap_login').'/css/mui.min.css')}}" rel="stylesheet">
    <link href="{{asset(config('view.frontend.wap_login').'/css/swiper-3.4.2.min.css')}}" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="{{asset(config('view.frontend.wap_login').'/fonts/font-awesome.min.css')}}">
    <link rel="stylesheet" type="text/css" href="{{asset(config('view.frontend.wap_login').'/css/swiper-3.4.2.min.css')}}">
    <link rel="stylesheet" type="text/css" href="{{asset(config('view.frontend.wap_login').'/css/index.css')}}">
    <link rel="stylesheet" type="text/css" href="{{asset(config('view.plugin').'/layui/layer_mobile/need/layer.css')}}">
    <style type="text/css">
        body,html{background: #fff;}
    </style>
</head>

<body>

<div class="mui-content mui-scroll-wrapper bg-fff" id="pullrefresh" style="background: transparent;">
    <div class="mui-scroll">

        <div class="mui-table-view mui-table-view-chevron mui-bottom bg-fff">
            <div class="mui-login-header mui-text-center">
                <img src="{{asset(config('view.frontend.wap_login').'/images/denglu.jpg')}}" >
            </div>
            <div class="mui-login-center bg-fff">
                @yield('content')
            </div>

        </div>
    </div>
</div>

<script src="{{asset(config('view.frontend.wap_login').'/js/jquery-1.11.0.min.js')}}"></script>
<script src="{{asset(config('view.frontend.wap_login').'/js/mui.js')}}"></script>
<script src="{{asset(config('view.frontend.wap_login').'/js/index.js')}}"></script>
<script src="{{asset(config('view.frontend.wap_login').'/js/swiper-3.4.1.min.js')}}"></script>
<script src="{{asset(config('view.plugin').'/layui/layer_mobile/layer.js')}}"></script>
<script type="text/javascript" charset="utf-8">
    mui.init({
        pullRefresh: {
            container: '#pullrefresh',
            down: {
                style:'circle',
                callback: pulldownRefresh
            }
        }
    });
    function pulldownRefresh() {
        setTimeout(function() {
            window.location.reload()
            mui('#pullrefresh').pullRefresh().endPulldownToRefresh(); //refresh completed
        }, 1500);
    }
    var dianji=$('.mui-taber span')
    for(var i=0;i<dianji.length;i++){
        dianji[i].addEventListener('tap',function(){
           window.location.href = $(this).data('url');
        })
    }


</script>
@stack('scripts')

</body>

</html>